# src/streamproxy/CMakeLists.txt

# 添加包含目录
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)

# 查找源文件
file(GLOB STREAM_PROXY_SOURCES
    "${CMAKE_CURRENT_SOURCE_DIR}/*.cpp"
)

# 添加静态库目标
add_library(streamproxy STATIC ${STREAM_PROXY_SOURCES})
target_include_directories(
    streamproxy
    PRIVATE ${CMAKE_SOURCE_DIR}/src/
    PRIVATE ${CMAKE_SOURCE_DIR}/src/utils/include
    )
# 链接依赖库
target_link_libraries(streamproxy PRIVATE
    mk_api
    utils
    ${OPENSSL_LIBRARIES}
    ${LIVE555_LIBS}
    ${VIDEO_PARSE_LIBRARIES}
)
